package com.jxccp.ui.entities;

import java.io.Serializable;

/**
 * 追一机器人取现订单
 */
public class ZhuiyiLoanOrderEntity implements Serializable {

    /**
     * 待审核
     */
    public static final int ORDER_STATUS_WAIT_REVIEW = 1;
    /**
     * 审核通过
     */
    public static final int ORDER_STATUS_PASSED = 2;
    /**
     * 审核拒绝
     */
    public static final int ORDER_STATUS_REJECT = 3;
    /**
     * 提现中
     */
    public static final int ORDER_STATUS_CASH_WITHDRAWAL = 4;
    /**
     * 已提现
     */
    public static final int ORDER_STATUS_ALREAD_CASH_WITHDRAWAL = 5;
    /**
     * 提现失败
     */
    public static final int ORDER_STATUS_CASH_WITHDRAWAL_FAILED = 6;
    /**
     * 已还款
     */
    public static final int ORDER_STATUS_PAID = 7;
    /**
     * 放款失败待重试
     */
    public static final int ORDER_STATUS_LENDING_FAILURE_WAIT_TO_TRY_AGAIN = 8;
    /**
     * 已退款
     */
    public static final int ORDER_STATUS_REFUNDED = 9;
    /**
     * 放款失败重试销单
     */
    public static final int ORDER_STATUS_LENDING_FAILURE_TRY_TO_CANCEL = 10;
    /**
     * 待面签
     */
    public static final int ORDER_STATUS_WAIT_TO_FACE_SIGN = 11;
    /**
     * 资方放款中
     */
    public static final int ORDER_STATUS_LOANNING = 12;

    /**
     * 爆米花
     */
    public static final int ORDER_LOAN_TYPE_BAOMIHUA = 202060;
    /**
     * 嗨花
     */
    public static final int ORDER_LOAN_TYPE_HAIHUA = 202007;
    /**
     * 取点花
     */
    public static final int ORDER_LOAN_TYPE_QUDIANHUA = 202009;


    /**
     * 取现订单id
     */
    private String orderId;

    /**
     * 取现类型
     */
    private int loanType;

    /**
     * 消费名称
     */
    private String loanReason;

    /**
     * 订单时间
     */
    private String orderTime;

    /**
     * 订单状态
     */
    private int orderStatus;

    /**
     * 取现金额
     */
    private String loanAmt;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public int getLoanType() {
        return loanType;
    }

    public void setLoanType(int loanType) {
        this.loanType = loanType;
    }

    public String getLoanReason() {
        return loanReason;
    }

    public void setLoanReason(String loanReason) {
        this.loanReason = loanReason;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getLoanAmt() {
        return loanAmt;
    }

    public void setLoanAmt(String loanAmt) {
        this.loanAmt = loanAmt;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ZhuiyiLoanOrderEntity{");
        sb.append("orderId='").append(orderId);
        sb.append(", loanType=").append(loanType);
        sb.append(", loanReason='").append(loanReason);
        sb.append(", orderTime='").append(orderTime);
        sb.append(", orderStatus=").append(orderStatus);
        sb.append(", loanAmt='").append(loanAmt);
        sb.append('}');
        return sb.toString();
    }
}
